package com.sikaryofficial.backend.domain.mapping;

import com.sikaryofficial.backend.domain.dto.resp.productactivity.ActivityResultDTO;
import com.sikaryofficial.backend.domain.dto.resp.productactivity.ActivityResultNoMaskDTO;
import com.sikaryofficial.backend.domain.entity.ActivityResult;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author : qinjinyuan
 * @desc : 活动结果映射接口
 * @date : 2023/11/03 9:19
 */
@Mapper
public interface ActivityResultMapping {
    ActivityResultMapping INSTANCE = Mappers.getMapper(ActivityResultMapping.class);
    /**
     * 实体映射resp
     *
     * @param activityDTO
     * @return
     */
    ActivityResultDTO coverEntityToDTO(ActivityResult activityDTO);

    ActivityResultNoMaskDTO coverEntityToNoMaskDTO(ActivityResult activityDTO);
}
